package com.ssy.entity;

import java.io.Serializable;
import java.util.Date;

/**
 * User
 *
 * @author ssy
 * @date 2020/11/11
 **/
public class User implements Serializable {
    private static final long serialVersionUID = 2467373428910235319L;

    private int uId;

    private String uname;

    private String upwd;

    /**
     * 用户类型  2 为学生  1为管理员
     */
    private int utype;

    private String createTime;

    private String updateTime;

    public User(int uId, String uname, String upwd, int utype, String createTime, String updateTime) {
        this.uId = uId;
        this.uname = uname;
        this.upwd = upwd;
        this.utype = utype;
        this.createTime = createTime;
        this.updateTime = updateTime;
    }

    public String getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime;
    }

    public User() {
    }



    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public int getuId() {
        return uId;
    }

    public void setuId(int uId) {
        this.uId = uId;
    }

    public String getUname() {
        return uname;
    }

    public void setUname(String uname) {
        this.uname = uname;
    }

    public String getUpwd() {
        return upwd;
    }

    public void setUpwd(String upwd) {
        this.upwd = upwd;
    }

    public int getuType() {
        return utype;
    }

    public void setuType(int uType) {
        this.utype = uType;
    }
}
